import axios from 'axios';
import { req } from './axiosFun';


export const wareHouseList= (params) =>{return req("post","/management-mall/ware-house/page",params)}
export const putGoodsList= (params) =>{return req("post","/management-mall/put-goods/page",params)}
export const save= (params) =>{
  console.log(params)
  return axios.post("http://localhost:9000/api/management-mall/put-goods/save",params).then(then(res => res.data))
  // return req("post","/management-mall/put-goods/save",params)
}
export const storeList= () =>{return req("post","/management-mall/ware-house/storeList")}
export const goodsList= () =>{return req("post","/management-mall/ware-house/goodsList")}
export const updateStatu= (params) =>{return req("post","/management-mall/put-goods/updateStatu",params)}

